﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Permissions;

namespace TiposComuns.Excepcoes
{
    [Serializable]
    public class AllreadyPerformingASearchException : ApplicationException
    {
        public AllreadyPerformingASearchException(string message) : base(message) { }

        public AllreadyPerformingASearchException(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        {
            
        }

        [SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter = true)]
        public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
        {
            base.GetObjectData(info, context);
        }
    }
}
